home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 8572 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.2 KB  |  26 lines

  1. Newsgroups: comp.lang.c++
  2. Path: netcom.com!emoz
  3. From: emoz@netcom.com (Evin Moseman)
  4. Subject: Files in C++, format
  5. Message-ID: <emozDMrCCK.CtE@netcom.com>
  6. Organization: NETCOM On-line Communication Services (408 261-4700 guest)
  7. X-Newsreader: TIN [version 1.2 PL1]
  8. Date: Wed, 14 Feb 1996 08:45:55 GMT
  9. Sender: emoz@netcom16.netcom.com
  10.  
  11. I am writing a program to solve equations, and I need a method to store 
  12. the equation data to a file.  I don't know much about binary files, but 
  13. my problem is that I can't read at a certain location and always expect 
  14. to get the right number or character.  Also when I write a variable which 
  15. is char varname[40], to this file and when entering the characters to the 
  16. variable interactivley and have to use the backspace key, it saves all of 
  17. those characters to the variable varname.  It has even saved more than 40 
  18. characters in varname, and I also am using the getche() function to get 
  19. the keyboard input.  So if you have any information on any of that, and 
  20. also how to read and write characters and integers to files, and always 
  21. get the same result please e-mail me (emoz@netcom.com), I would 
  22. appreciate it a lot.  
  23.     Thank you...
  24.         (E)
  25.  
  26.